class Dog():
    def __init__(self,name,age):
        self.name = name
        self.age = age

    def set(self):
        print(self.name+" is sitting now")

    def roll(self,n):
        print(self.name+" is rolling")
        print(n)

    def age1(self):
        print(self.age)

    def eat(self):
        print(self.name+" " +"is eating")
    


class Cat(Dog):
    def __init__(self,name,age):
        super().__init__(name,age)
        self.size=10
    def eat(self):
        print(self.name+" is eating too!")
    def climb(self):
        print(self.name+" is climbing.")


dog1=Dog("hello,world",10)
cat1=Cat("hello,world",10)
cat1.eat()
dog1.eat()


       

